package com.flyco.modules.pms.service;

import com.flyco.modules.pms.entity.PmsProductAttributeValue;
import com.baomidou.mybatisplus.extension.service.IService;
import com.flyco.modules.pms.model.PmsProductAttributeModel;

import java.util.List;

/**
 * @Description: 产品参数信息
 * @Author: flyco
 * @Date:   2019-11-27
 * @Version: V1.0
 */
public interface IPmsProductAttributeValueService extends IService<PmsProductAttributeValue> {
    List<PmsProductAttributeModel> selectAttributeByCategoryId(Long productId, Long attributeCategoryId);

    void saveFromProduct(Long productId, List<PmsProductAttributeModel> list);

    void deleteByAttributeId(Long id);
}
